ANativeWindow_setBuffersDataSpace

All buffers queued after this call will be associated with the dataSpace parameter specified.

dataSpace specifies additional information about the buffer. For example, it can be used to convey the color space of the image data in the buffer, or it can be used to indicate that the buffers contain depth measurement data instead of color images. The default dataSpace is 0, ADATASPACE_UNKNOWN, unless it has been overridden by the producer.

\param dataSpace data space of all buffers queued after this call. \return 0 for success, -EINVAL if window is invalid or the dataspace is not supported.

extern (C) nothrow @nogc
int
ANativeWindow_setBuffersDataSpace
(
ANativeWindow* window
,
)

Meta